#define SYS_STACK_SIZE 1024

typedef struct context{
	unsigned int BP, DI, SI, DS, ES;
	unsigned int DX, CX, BX, AX;
	unsigned int IP, CS, FLAGS;
} context;

typedef struct Params{
	int op_code;
	int device_id;
	unsigned char *buf_addr;
	int *count_addr;
} params;

void interrupt sys_call(void);

void interrupt dispatch(void);

void load_procs(char extra[]);